import {configureStore} from '@reduxjs/toolkit'
// 导入子模块
import counterReducer from './modules/coutnterStore'
import channelReducer from './modules/channelStore'
import userReducer from './modules/user'

const store =configureStore({
    reducer:{
      counter:counterReducer,
      channel:channelReducer,
      user:userReducer
    }
})

export default store